#include"CBoard.h"
#include<list>
#include"Piece.h"
#define BLACK 1
#define WHITE -1
class AI
{
private:
list<Piece> AIlist;
public:
    AI(/* args */);
    ~AI();
    int Distribution(CBoard b);
    void AISet(CBoard b);
    int GetAIRow();
    int GetAIColumn();
    int MaxMin(CBoard b,int playertype,int deep);
    int JudgeLiveFour(CBoard b,int judge_x,int judge_y,int direction,int color);
    int JudgeLiveThree(CBoard b,int judge_x,int judge_y,int direction,int color);
    int JudgeLiveTwo(CBoard b,int judge_x,int judge_y,int direction,int color);
    int JudgeLiveOne(CBoard b,int judge_x,int judge_y,int direction,int color);
};

